all: analyseComplet 
analyseComplet: *.l *.y *.cpp DTD.o  makefile
	flex -Pdtd_ dtd.l
	bison -pdtd_ --debug --verbose --defines=dtd_.tab.h dtd.y

	g++ -g -DYYDEBUG=1 -o analyseComplet lex.dtd_.c dtd.tab.c  *.cpp 
clean:
	-rm -rf *.tab.c lex.*.c *.tab.h *.output analyseComplet *.o
